home *** CD-ROM | disk | FTP | other *** search
/ Trees of Indiana / Trees of Indiana.iso / pc / data / main.dxr / Internal_285.ls < prev    next >
Encoding:
Text File  |  2002-08-01  |  524 b   |  23 lines

  1. on mouseWithin
  2.   cursor(280)
  3. end
  4.  
  5. on mouseLeave
  6.   cursor(0)
  7. end
  8.  
  9. on mouseUp
  10.   global gDemoWindow
  11.   gDemoWindow = window("@/:Data:Pinus:SCP")
  12.   gDemoWindow.fileName = "BPO"
  13.   offsetX = (the stage).rect.left
  14.   offsetY = (the stage).rect.top
  15.   myLeft = the left of sprite 2
  16.   myTop = the top of sprite 2
  17.   myRight = the right of sprite 2
  18.   myBottom = the bottom of sprite 2
  19.   gDemoWindow.rect = rect(offsetX + myLeft, offsetY + myTop, offsetX + myRight, offsetY + myBottom)
  20.   gDemoWindow.windowType = 2
  21.   open(gDemoWindow)
  22. end
  23.